package com.kakarote.hrm.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 招聘人员表
 * </p>
 *
 * @author system
 * @since 2024-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wk_hrm_recruit_user")
@ApiModel(value = "HrmRecruitUser对象", description = "招聘人员表")
public class HrmRecruitUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "招聘人员id")
    @TableId(value = "recruit_user_id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long recruitUserId;

    @ApiModelProperty(value = "计划编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long planId;

    @ApiModelProperty(value = "计划启动编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long recordId;

    @ApiModelProperty(value = "过程编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long procesId;

    @ApiModelProperty(value = "岗位编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long positionId;

    @ApiModelProperty(value = "招聘人员编号")
    private String userId;

    @ApiModelProperty(value = "招聘人员名称")
    private String realName;

    @ApiModelProperty(value = "招聘人员性别（男，女）")
    private Integer sex;

    @ApiModelProperty(value = "招聘渠道（校招、社招）")
    private Integer channel;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "学历（小学、初中、高中、中专、大专、大学、硕士、博士、无）")
    private Integer education;

    @ApiModelProperty(value = "专业技术职务类别(初级,中级,副高级,正高级)")
    private Integer technicalLevel;

    @ApiModelProperty(value = "技术工人类型(初级工,中级工,高级工,技师,高级技师)")
    private Integer technologyType;

    @ApiModelProperty(value = "岗位类别（管理岗、专技岗、工勤岗）")
    private Integer positionType;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人id")
    @TableField(fill = FieldFill.INSERT)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createUserId;

    @ApiModelProperty(value = "更新人id")
    @TableField(fill = FieldFill.UPDATE)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long updateUserId;
}

